<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<%-- S 分类树 --%>
<div class="col-md-4" >

	<c:set var="defaultOperate" value="${moduleBody.defaultOperate}" />
	<c:set var="operates" value="${moduleBody.treeOperates}" />
	
	<!-- 列出(默认) -->
	<c:if test="${null != defaultOperate}">
		<div class="com_find"
		 com="myDataFind" run="bind" access='${RootUrl}${defaultOperate.url}' accessPara="{parentId}<=" 
		></div>
	</c:if>
	
	<!-- 树结构 -->
	<div id="jstree_demo" class="demo col-lg-4" style="width: 100%" ></div>

	<%-- S 操作 --%>
	<c:forEach items="${operates}" var="operate">
		<c:set var="actionType" value="${operate.actionType}"/>
		<c:set var="operateUrl" value="${operate.url}"/>
		
		<!-- 编辑跳转 -->
		<c:if test="${actionType=='Edit'}">
			<div class="com_a_edit" com="myA" access='${RootUrl}${operateUrl}'
			></div>
		</c:if>
		
		<!-- 删除 -->
		<c:if test="${actionType=='Delete'}">
			<div class="com_delete" com="myDataDelete" access='${RootUrl}${operateUrl}'
			></div>
		</c:if>
		
		<!-- 添加跳转 -->
		<c:if test="${actionType=='Add'}">
			<div class="com_a_save" com="myA" access='${RootUrl}${operateUrl}'
			></div>
		</c:if>
	</c:forEach>
	<%-- E 操作 --%>

</div>
<%-- E 分类树 --%>

<%-- S 嵌入 --%>
<div class="col-md-8" >
	<c:forEach items="${moduleBody.embedOperates}" var="embed">
		<iframe onload="iframeHeightOnresize(this)" class="embedIframe iframe_detail" rawSrc='${RootUrl}${embed.url}' width="100%" frameborder="0">
		</iframe>
	</c:forEach>
</div>
<%-- E 嵌入 --%>